package com.college.entity;

/**
 * AbstractWork entity provides the base persistence definition of the Work
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractWork implements java.io.Serializable {

	// Fields

	private Integer wid;
	private Integer uid;
	private Integer state;
	private String title;
	private String text;

	// Constructors

	/** default constructor */
	public AbstractWork() {
	}

	/** minimal constructor */
	public AbstractWork(Integer uid, Integer state, String text) {
		this.uid = uid;
		this.state = state;
		this.text = text;
	}

	/** full constructor */
	public AbstractWork(Integer uid, Integer state, String title, String text) {
		this.uid = uid;
		this.state = state;
		this.title = title;
		this.text = text;
	}

	// Property accessors

	public Integer getWid() {
		return this.wid;
	}

	public void setWid(Integer wid) {
		this.wid = wid;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

}